package com.stox.model.entity;

import java.io.Serializable;
import java.text.ParseException;

import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper=true)
public class BarEntity extends com.stox.model.Bar implements Serializable {
	private static final long serialVersionUID = 1L;

	private ScripEntity scrip;
	
	public BarEntity(){
		
	}
	
	public BarEntity(String scripCode, String text) throws ParseException{
		super(scripCode, text);
	}
	
	public String toString(){
		return super.toString();
	}
	
}
